﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="OpenRPOSBackOffice.AddOptionGroupDialog"
           Width="487" Height="129" 
           Title="Add Option Group">
    <Grid Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Content="Option Group Name" Height="19" Margin="7,16,0,0" VerticalAlignment="Top" Width="110"/>
        <TextBox HorizontalAlignment="Left" Margin="122,6,0,0" x:Name="tbOptionGroupName" VerticalAlignment="Top" Width="259" MaxLength="50" KeyDown="tbOptionGroupName_KeyDown"/>
        <CheckBox x:Name="cbExclusive" Content="Exclusive" HorizontalAlignment="Left" Margin="386,14,0,0" VerticalAlignment="Top" Padding="3,-3,0,0" Width="50"/>
        <Button x:Name="btnOK" Content="OK" Click="btnOK_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,79,0" Grid.Row="1" />
        <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,0,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>